import Vue from 'vue'

import 'normalize.css/normalize.css'
import '@/styles/index.scss' // global css
import './plugins/elementui/index'
import App from './App'
import store from './store'
import router from './router'

import '@/icons' // icon
import '@/permission' // permission control
import '@/plugins/echarts'
Vue.config.productionTip = false
import ElSelectTree from 'el-select-tree'
import DictSelect from '@/components/DictSelect'
Vue.component('DictSelect', DictSelect)
Vue.use(ElSelectTree)
import DragUpload from '@/components/DragUpload'
Vue.component('DragUpload', DragUpload)
Vue.use(ElSelectTree)
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
